package com.fivec.javaproject.address;

import java.security.KeyPair;

/**
 * @author wangyizhu
 * @version "1.8.0_131"
 * @email 2641956765@qq.com
 * @desc:
 * @Time 2021/12/20 16:31
 */
public class Main {
    public static void main(String[] args) {
        Address address=new Address();
        KeyPair keyPair= address.generateKeys();
        String add= address.newAddress(keyPair);
        System.out.println( address.Isvalidforadress(add));
    }
}
